<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">

  <script src="./js/vue.js"></script>

  <title></title>
</head>
<body>
    <div id="app">
        {{msg}}
    </div>


<script>
    var vm = new Vue({
        e1:"#app",
        data:{
            msg:2
        },
        beforeCreate:function(){
            console.log("创建前")
        },
        Create:function(){
            console.log("创建")
        },
        beforeMounted:function(){
            console.log("挂载前")
        }

    })

</script>
</body>
</html>